﻿//===============================================================================
//	CTitleTakeOffOrWear
//	请求穿/卸称号
//===============================================================================

#pragma once

#include "BaseMessage.h"


class CTitleTakeOffOrWear
	: public BaseMessage
{
public:
	CTitleTakeOffOrWear(uint32_t uid, uint32_t pn);
	~CTitleTakeOffOrWear();

public:
	//---------------------------------------------------------------------------
	static BaseMessage* Create(uint32_t uid, uint32_t pn)
	{ 
		return new CTitleTakeOffOrWear(uid, pn);
	}

public:
	//---------------------------------------------------------------------------
	virtual void HandleMessage(Player* pplayer) override final
	{}

public:
	//---------------------------------------------------------------------------
	void SetTitleTakeOffOrWearData(int32_t ret,uint32_t titleId, uint32_t oprType);
};